package cn.mily.org.domain;

import cn.mily.basics.domain.BasicDomain;
import cn.mily.user.domain.LoginInfo;
import lombok.Data;

@Data
public class Employee extends BasicDomain {
    /*员工名*/
    private String username;
    /*员工邮箱*/
    private String email;
    /*员工电话*/
    private String phone;
    /*盐值*/
    private String salt;
    /*员工登录密码*/
    private String password;
    /*员工年龄*/
    private Integer age;
    /*类型  1：普通用户 0：员工*/
    private Integer type = 0;
    /*员工状态  0禁止  1正常*/
    private Integer state=1;
    /*部门*/
    private Department department;
    /*登录信息*/
    private LoginInfo logininfo_id;
    /*员工所属部门*/
    private Shop shop;
    private Long shop_id;
}
